﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Runtime.Serialization;

namespace WebProxyApplication.Blocked
{
    public class UrlBlockedException : Exception
    {
        public UrlBlockedException()
            : base()
        {
        }

        public UrlBlockedException(SerializationInfo info, StreamingContext context)
            : base(info, context)
        {
        }

        public UrlBlockedException(string message)
            : base(message)
        {
        }

        public UrlBlockedException(string message, Exception innerException)
            : base(message, innerException)
        {
        }

        public BlockedReason UrlBlockedReason { get; set; }

        public Int32 UrlBlockedPageRank { get; set; }
    }
}